home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr11
/
gedvw105.zip
/
SDX.PRG
< prev
next >
Wrap
Text File
|
1995-03-05
|
961b
|
50 lines
*
* This creates a report, listing Soundex, full names and record
* number for each INDI record. It sorts the list using the DOS
* sort command. Ther must be sufficient available memory for the
* sort. The sorted file, if completed, is given the base name
* of the processed GEDCOM file with .SDX as the extension.
*
* for GEDView 1.05
* michael@genealogy.emcee.com - 3 Mar 1995
*
save list.txt ""
remember record
go 1
find global @ INDI
:continue
show $NUMBER
ifescape
goto the_end
get name
iffailed
goto next_one
fixname
gosub print-line
:next_one
find next
iffailed
goto the_end
goto continue
:the_end
system sort < list.txt > $GEDBASE.sdx
system del list.txt
go record
set display on
end
:print-line
set #width -5
append list.txt $SOUNDEX
set #width -20
append list.txt $LASTNAME
append list.txt $FIRSTNAME
set #width 4
append list.txt $NUMBER
append list.txt "\J"
return